<include file="public:header" />
<div class="allpagetop">任务设置<strong>/</strong>列表</div>
<div class="admin_main_nr_dbox">
 	    <div class="pagetit">
	        <div class="ptit">任务设置</div>
				<div class="topnav">
			         
					  <a href="{:RU('task/lists',array('type'=>''))}" <if condition="($type eq '') AND (ACTION_NAME neq 'lv')">class="select"</if>>全部</a>
					  <a href="{:RU('task/lists',array('type'=>1))}" <if condition="$type eq '1'">class="select"</if>>单次任务</a>
					  <a href="{:RU('task/lists',array('type'=>2))}" <if condition="$type eq '2'">class="select"</if>>循环任务</a>
				 	  <a href="{:RU('task/lv')}" <if condition="ACTION_NAME eq 'lv'">class="select"</if>>等级规则</a>	  
				    <div class="clear"></div>
				</div>
	        <div class="clear"></div>
	    </div>
		
  
    <form id="form1" name="form1" method="post" action="{:RU('task/allsave')}">
	
	  <div class="admin_list_th">
	    <div class="td1" style=" width:25%;">
		  <div class="left_txt_td">任务名称</div>
		</div>
		<div class="td4" style=" width:15%;">奖励{:C('YTATA_GOLD_BYNAME')}</div>
		<div class="td3" style=" width:15%;">奖励经验</div>
			<div class="td3" style=" width:15%;">每日上限次数</div>
		<div class="td4" style=" width:15%;">排序</div>
		<div class="td2" style=" width:15%;">可用</div>
 
	  <div class="clear"></div>
	  </div>
	  
	  
	    <volist name="list" id="list">
					   <div class="admin_list_tr link_bk">
						<div class="td1" style=" width:25%;">
						  <div class="left_txt_td striking">
							  <input name="id[]" type="hidden" value="{$list.id}" />
							<img src="__ROOT__/{:C('YTATA_IMG_TASK_DIR')}{$list.id}.png"  border="0" align="absmiddle" style="width:35px; height:35px;  margin-right:15px;"/>{$list.name}							  </div>
						</div>
						<div class="td4" style=" width:15%;">
						<input name="gold[]" type="text"  class="input_text_default small" maxlength="100" value="{$list.gold}" style="width:120px;"/>
						</div>
						<div class="td3" style=" width:15%;">
								<input name="exp[]" type="text"  class="input_text_default small" maxlength="100" value="{$list.exp}" style="width:120px;"/>
						</div>
							 <div class="td3" style=" width:15%;">
								 <eq name="list.type" value="1">
									 单次任务无此值
									 <input name="limit[]" type="hidden"  class="input_text_default small" maxlength="100" value="{$list.limit}" style="width:120px;"/>
									 <else/>
									 <input name="limit[]" type="text"  class="input_text_default small" maxlength="100" value="{$list.limit}" style="width:120px;"/>
								 </eq>
								 
							 </div>
						<div class="td4" style=" width:15%;">
						<input name="sort[]" type="text"  class="input_text_default small" maxlength="100" value="{$list.sort}" style="width:50px;"/>
						</div>
						<div class="td2 striking" style=" width:15%;">
						 <div class="imgchecked_small <if condition="$list.is_display eq 1 "> select</if>"><input name="is_display[]" type="hidden" value="{$list.is_display}" /></div>
						<div class="clear"></div>
						</div>
						
						
				 
					  <div class="clear"></div>
					  </div>
	   </volist>
	  
	
	  
      

  
  
    <empty name="list">
    <div class="admin_list_no_info">没有任何信息！</div>
    </empty>
	
	
	
	<div class="admin_list_foot">
			  <div class="btnbox">
			 	 <input type="submit"  class="admin_submit"   value="保存设置 "/>			 
			  </div>
			  
			  
			  
	          
	</div>
	  </form>
  
</div>
<include file="public:footer" />
</body>
</html>